import React, { Component } from 'react';
import "./Test1.scss";
export default class Test1 extends Component {
    constructor(){
        super();
        this.a=123;
    }
    render(){
        let pro1=this.props.pro1;
    const nameList=["angular","vue","react"];
       return (
       <div className="a">{this.a}
       {pro1}
       <ul>
       {
           nameList.map((item,index)=>{
               return <li key={index}> {item}</li>
           })
       }
       </ul>
       </div>
       );
    }

}